<html>
<head>
<script language = "Javascript">
function ValidateForm(){

	

if (window.document.frmSample.a.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.a.focus();
		return false;
	}
	
	if (window.document.frmSample.c.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.c.focus();
		return false;
	}
	if (window.document.frmSample.d.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.d.focus();
		return false;
	}
	if (window.document.frmSample.e.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.e.focus();
		return false;
	}
	if (window.document.frmSample.f.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.f.focus();
		return false;
	}
	if (window.document.frmSample.g.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.g.focus();
		return false;
	}
	if (window.document.frmSample.h.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.h.focus();
		return false;
	}
	if (window.document.frmSample.i.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.i.focus();
		return false;
	}
	if (window.document.frmSample.j.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.j.focus();
		return false;
	}
	if (window.document.frmSample.k.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.k.focus();
		return false;
	}
	if (window.document.frmSample.l.value=="")
	{
		alert("colums must not be blank ");
		window.document.frmSample.l.focus();
		return false;
	}

}

	</script>
</head>
<body>
<center><H1>Internet Banking System</H1>

<FORM METHOD=POST ACTION="verifyregister.jsp" name="frmSample" onSubmit="return ValidateForm()">
	<TABLE>
	<TR>
		<TD>Name</TD>
		<TD><INPUT TYPE="text" NAME="a"></TD>
	</TR>
	
	<TR>
		<TD>Branch</TD>
		<TD><INPUT TYPE="text" NAME="c"></TD>
	</TR>
	<TR>
		<TD>Account Type</TD>
		<TD><select name="d">
		<option value="saving">Saving
		<option value="Current">Current</select></TD>
	</TR>
	<TR>
		<TD>DOB</TD>
		<TD><INPUT TYPE="text" NAME="e"></TD>
	</TR>
	<TR>
		<TD>Gender</TD>
		<TD><INPUT TYPE="radio" NAME="cat" value=male> M<INPUT TYPE="radio" NAME="cat" value=female>F</TD>
	</TR>
	<TR>
		<TD>Address</TD>
		<TD><TEXTAREA NAME="f" ROWS="" COLS=""></TEXTAREA></TD>
	</TR>
	<TR>
		<TD>Pincode</TD>
		<TD><INPUT TYPE="text" NAME="g"></TD>
	</TR>
	<TR>
		<TD>City</TD>
		<TD><INPUT TYPE="text" NAME="h"></TEXTAREA></TD>
	</TR>
	<TR>
		<TD>State</TD>
		<TD><INPUT TYPE="text" NAME="i"></TEXTAREA></TD>
	</TR>
	<TR>
		<TD>Email</TD>
		<TD><INPUT TYPE="text" NAME="j"></TD>
	</TR>
	<TR>
		<TD>Phone NO</TD>
		<TD><INPUT TYPE="text" NAME="k"></TD>
	</TR>
	<TR>
		<TD>Occupation</TD>
		<TD><INPUT TYPE="text" NAME="l"></TD>
	</TR>

	<TR>
		<TD><INPUT TYPE="submit" value="submit"></TD>
		<TD><INPUT TYPE="reset" ></TD>
	</TR>
	</TABLE>
</FORM>